package com.itheima.day01.homework2;
/*
冰箱类
属性：品牌、型号、颜色、售价、门款式、制冷方式
洗衣机类
属性：品牌、型号、颜色、售价、电机类型、洗涤容量
电视类
属性：品牌、型号、颜色、售价、屏幕尺寸、分辨率
 */
public class Refir extends Ele{

    private String style;
    private String method;

    public Refir() {
    }

    public Refir(String brand, String model, String color, String price, String style, String method) {
        super(brand, model, color, price);
        this.style = style;
        this.method = method;
    }

    public String getStyle() {
        return style;
    }

    public void setStyle(String style) {
        this.style = style;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

}
